//#ifndef _BOUNDINGBOX_H__
//#define _BOUNDINGBOX_H__

#include "Angel.h"


using namespace std;

class BoundingBox
{
public:
	BoundingBox();
	void update(point4 point);
	void reset();
	point3 getMax();
	point3 getMin();
	point4 getCenter();
	point3 getRange();

	void setMax(point3 max);
	void setMin(point3 min);
private:
	point3 _max;
	point3 _min;
	bool isInit;//if this is the first point

};

//#endif

